#include "plan.h"
#include "ui_plan.h"

plan::plan(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::plan)
{
    ui->setupUi(this);
}
void plan::setdata(int index,QString info1,QString info2,QString info3,QString info4,QString info5,QString info6,QString info7,QString info8,QString info9,QString info10){
   //方案数
    ui->label->setText(QString("方案%1").arg(index));
    //总成本计算  收益计算   盈亏计算
    ui->lineEdit->setText("1");
    ui->lineEdit_2->setText("2");
    ui->lineEdit_3->setText("3");
}
plan::~plan()
{
    delete ui;
}
